package modifier;

public class B {

    public void say(){
        A a = new A();
        System.out.println("n1="+a.n1+"n2="+a.n2+"n3="
                +a.n3);//n4是私有的，只能在本类中访问
        a.m1();
        a.m2();
        a.m3();
        //a.m4();私有的，只能在本类中访问
    }

}
